package cn.huaguo.infrastructure.persistent.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description 钱包调动流水
 * @Author wangqian
 * @Date 2024/8/12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WalletAdjustFlow {
    /* 自增id */
    private long id;
    /* 流水号 */
    private String serialNumber;
    /* 用户openId */
    private String userId;
    /* 调动金额 */
    private BigDecimal adjustAmount;
    /* 调动前总金额 */
    private BigDecimal totalAmount;
    /* 调动类型 */
    private String adjustType;
    /* 订单id */
    private String orderId;
    /* 提现id */
    private String withdrawId;
    /* 创建时间 */
    private LocalDateTime createTime;

}
